---@class Battle.BuffEffect10032001 : Battle.BuffEffectBase
---独眼怒 眩晕
local effect = Battle.CreateClass("BuffEffect10032001",Battle.BuffEffectBase)
function effect:OnCreate(buff)
    ---@type Battle.Buffer
    self.buff = buff
    local param = decodeJsonStrToTable(buff.cfg.f_EffectParameter)
    self.conditionValue = param[1][1]
    self.impactValue = param[1][2]
    ---@type Battle.EffectConditionData
    self.conditionData = Battle.EffectConditionData.New()
end
function effect:OnBuffStart()
    self.conditionData:SetConditionTarget(Battle.EffectConditionTargetType.Caster)
    self.conditionData:SetConditionType(Battle.EffectConditionAttrType.HPLostPer,self.conditionValue)
    self.conditionData:SetImpactTarget(Battle.EffectConditionImpactTargetType.Self)
    self.conditionData:SetImpactType(Battle.EffectConditionImpactType.DuringTime,self.impactValue)
    self.conditionData:Execute(self.buff)
end
return effect